Program for automatic picture formation and storage medium storing the program

ABSTRACT

A making person stores the objects ( 5 ) in the element stock ( 4 ), makes the pallet ( 6 ), takes out the objects ( 5 ) from the element stock ( 4 ) in accordance with the rule of the making person at first and arranges it, thereafter paints it in reference to the pallet ( 6 ) and subsequently a changing in selection of the objects ( 5 ) from the element stock ( 4 ) and a changing in arrangement or color painting are carried out automatically in reference to some parameters made on the basis of some random numbers generated at the time of arrangement or color painting of the objects ( 5 ), thereby a different pattern (P) is automatically made while the same taste being kept. Accordingly, even the making person having a less amount of skill or experience for making a picture can easily produce a pattern showing an individual character of the making person.

FIELD OF THE INVENTION

[0001] This invention relates to an automatic picture generating program where a computer automatically generates a picture such as an abstract picture, for example, even under a state in which a human being is not placed in the system, and more particularly to a recording medium capable of being read by a computer having the automatic picture generating program recorded therein.

[0002] More particularly, this invention relates to a mechanism for determining a composition and instructing its procedure under application of the automatic picture generating program.

BACKGROUND OF THE INVENTION

[0003] In the related art, there has been present a computer program called as “AARON” developed by Mr. Harold Cohen as a preceding prior art example of an image generating technology in a computer.

[0004] Although Mr. Harold Cohen is an artist acknowledged in the field of art as an abstract artist representing in England at the later half period in 1960's, he is well working mainly in the field of art and study for making an artistic art through the computer rather than by drawing a picture by himself.

[0005] In turn, as a picture making skill, a composition making capability for effectively arranging the composing elements of a picture and assembling an entire composition or a color tone taste is generally difficult in view of easily attaining this skill.

[0006] However, in the case of such a prior art “AARON” as described above, there occurs a problem in which it is quite hard for a making person having a less amount of skill or experience making a picture to generate a pattern (superior in an individual characteristic not corresponding to the existing pattern) of a creative characteristic because a user makes either a composition or the color painting variable.

[0007] It is an object of the present invention according to Claims 1 and 7 to cause a making person having a less amount of skill or experience for making a picture to easily make a pattern having an individual characteristic of the making person in himself or herself.

[0008] In addition to the object of the invention according to Claim 1 and the object of the invention according to Claim 7, it is an object of the present invention according to Claims 2 and 8 to generate a limitless number of series of patterns.

[0009] In addition to the object of the invention according to Claim 2 and the object of the invention according to Claim 8, it is an object of the present invention according to Claims 3 and 9 to generate a new style pattern while a drawing person is looking at some patterns generated in sequence

[0010] In addition to the object of the invention according to Claims 1, 2 or 3 and the object of the invention according to Claim 7, 8 or 9, it is an object of the present invention according to Claims 4 and 10 to increase the type of patterns capable of being generated.

[0011] In addition to the object of the invention according to Claims 1, 2 or 3 and the object of the invention according to Claim 7, 8 or 9, it is an object of the present invention according to Claims 5 and 11 to generate easily patterns having a high common characteristic.

[0012] In addition to the object of the invention according to Claims 1, 2 or 3 and the object of the invention according to Claim 7, 8 or 9, it is an object of the present invention according to Claims 6 and 12 to generate easily patterns having individual characteristic colors.

SUMMARY OF THE INVENTION

[0013] In order to accomplish the aforesaid objects, the invention according to Claims 1, 7 has a feature to cause a computer to realize an object memory function for storing some prepared basic forms or hand-drawn objects in an element stock; a color tone storing function for making a pallet and memorizing it in reference to a color tone information extracted from existing images; a composition function for arranging the objects taken out of said element stock at a proper position in a screen; a color painting function for taking out color from said pallet and painting it on the screen having the objects arranged therein; a parameter memory function for taking out the objects from said element stock in accordance with a rule predetermined by a picture making person and arranging them, painting them in color from the pallet, making some parameters in reference to some random numbers generated at the time of arranging or color painting of these objects; and a pattern changing function for changing a selection of the objects from said element stock and their arrangement or color painting on the basis of the parameters read in reference to the parameter memory function.

[0014] In this case, the rule is determined in advance by a making person (user).

[0015] Action of the invention according to Claims 1 and 7 generated through such a constitution as above is carried out such that a making person stores an object in an element stock, when a pallet is made, the making person at first takes out the object from the element stock in accordance with the rule, arranges it, thereafter the object is painted in color from the pallet, and subsequently a changing in selection of the objects from the element stock and a changing in their arrangement or color are carried out automatically through some parameters made in reference to some random numbers generated at the time of arrangement or color painting of these objects, thereby the different patterns while holding a same taste are made automatically.

[0016] The invention according to Claims 2, 8 has a feature that a constitution where said parameter memory function and said pattern changing function are repeatedly realized is added to the constitution of the invention according to Claim 1 and the constitution of the invention according to Claim 7.

[0017] An action of the invention according to Claims 2, 8 generated by the constitution added in this way is operated such that a changing of some patterns is repeated on the basis of some parameters newly generated every time the object is selected and their arrangement or color painting is repeated.

[0018] An action of the invention according to Claims 3, 9 has a feature that a constitution where an operator stops a repetitive operation of said parameter memory function and said pattern-changing function is added to a constitution of the invention according to Claim 2 and a constitution of the invention according to Claim 8.

[0019] An action of the invention according to Claims 3, 9 generated under the added constitution is repeated until the operator stops the selection of the object, arrangement or color painting.

[0020] The invention according to Claims 4, 10 has a feature that a constitution where a size changing of the object taken out of the element stock is included in said pattern changing function is added to the constitution of the invention according to Claims 1, 2 or 3 and the constitution of the invention according to Claims 7, 8 or 9.

[0021] An action of the invention according to Claims 4, 10 generated through such an added constitution as above may generate a pattern drawing the objects having different sizes.

[0022] The invention according to Claims 5, 11 has a feature that the constitution in which a rule for determining whether or not the object taken out of the element stock is placed on a certain specified object is included in said pattern changing function is added to the constitution according to Claims 1, 2 or 3 and the constitution according to Claims 7, 8 or 9.

[0023] An action of the invention according to Claims 5,11 generated through such an added constitution as above enables a pattern having a specified object intensified to be generated.

[0024] The invention according to Claims 6, 12 has a feature that the constitution of the invention according to Claims 1, 2 or 3 and the constitution of the invention according to Claims 7, 8 or 9 are added with a constitution in which said pattern changing function includes a rule for determining a color painting in reference to a color painting information around the arranged object.

[0025] The invention according to Claims 6, 12 generated by such a constitution as above enables a pattern of color painting in accordance with a desire of the operator around the object.

BRIEF DESCRIPTION OF THE DRAWING FIGURES

[0026]FIG. 1 is a schematic view (a block diagram) for showing a screen generated by an automatic picture generating program to show one preferred embodiment of the present invention.

[0027] FIGS. 2(a) and (b) are schematic views for showing a screen to show an example of generating an object.

[0028] FIGS. 3(a) and (b) are schematic views for showing a screen to show an example of generating an object.

[0029]FIG. 4 is a schematic view for showing a screen to show an example of generating an object through a tracing operation.

[0030] FIGS. 5(a) and 5(b) are schematic views for showing a screen when a displaying or a non-displaying of an object is selected.

[0031]FIG. 6 is a schematic view for showing a screen when an object is registered.

[0032]FIG. 7(a) is a schematic view for showing an existing image and FIG. 7(b) is a schematic view for showing a pallet made by the existing image.

[0033]FIG. 8 is a flow-chart of a rule.

[0034]FIG. 9 is a schematic view for illustrating some parameters determining a form.

[0035]FIG. 10(a) and FIG. 10(b) are schematic views for illustrating a practical example of rule utilizing some random numbers.

[0036] FIGS. 11(a) to (d) are schematic views for showing a screen to illustrate examples of work generated by an automatic picture-generating program of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0037] As shown in FIG. 1, the preferred embodiment of the present invention indicates a case that a canvas 1 corresponding to a location where a picture is drawn is opened in a screen size of a computer, for example, this size is one determined as a region of the screen in the case of Windows (a registered trademark) of Microsoft, frame lines 2 like Mondrian (a painter from Nederland) are drawn and divided into a plurality of regions 3 . . . , objects 5 . . . taken out of a component stock 4 are arranged in sequence in these frame lines 2 and at the same time, a color is taken out of a pallet 6 to paint color, thereby an abstract picture is generated as a pattern P, thereafter only the pattern P is removed from the canvas (a screen) 1 to draw a picture again.

[0038] A procedure for generating the aforesaid pattern P can be divided into the following steps.

[0039] A. Generating of an object:

[0040] An object is defined as an element appeared in a picture and a basic form (class) prepared in advance such as a circle or an ellipse or a rectangular shape or a polygonal shape and the like can be realized or a folding line figure having non-specified control points, other figures such as an arrow figure or the like, for example, can also be realized and further this can be defined as a hand-made object. As the hand-made object, it is assumed there is applied one in which the existing image read through a scanner and the like is traced.

[0041] The object is a minimum unit constituting the canvas and it is possible to instruct a producing or erasing, moving or changing in characteristic for every object.

[0042] Describing the practical example shows that as shown in FIGS. 2(a) and 2(b), the aforesaid basic form is constructed such that a desired shape is drawn by selecting an item from a pop-up menu through a direct operation under utilization of a pointing device (mainly, a mouse).

[0043] In addition, as shown in FIGS. 3(a) and 3(b), it is also possible to draw a closed curved line or an opened curved line or a straight linear line.

[0044] As shown in FIG. 4, profiling the shape of a lemon on the screen and cutting it out with a still-picture of Paul Cèzanne, for example, being applied as a base picture, can draw a trace of the existing image.

[0045] Further, these objects may have two states of display and non-display, and more practically, when an object is selected and a hide is specified as shown in FIG. 5(a), the non-displayed state appears and in turn when a flip show hide is specified as shown in FIG. 5(b), it is possible to change-over the non-displayed object and the displayed object and when it is desired to display again the non-displayed object, the flip show hide operation is performed again.

[0046] B. Registration of Object:

[0047] The aforesaid object is registered in an object buffer acting as the component stock 4 which is an element for generating a picture.

[0048] A plurality of objects 5 . . . are monitored as data of wooden structure and the like. As a method for realizing the object buffer, there is provided a flag indicating whether or not the object buffer is present on the component stock 4 for every object. As a data not displaying the object, it is possible to apply a method for monitoring it on another wooden structure.

[0049] Describing the practical example shows that a file dialogue-loader as shown in FIG. 6 is displayed by selecting either an associated Export or Import on a pop-up menu and it becomes possible to write a figure data of the objects 5 . . . into the file or to read the figure data from the file into the objects 5 . . .

[0050] C. Selection of Color Tone

[0051] Although it is also possible to select a desired color from some prepared primary colors and set it in order to perform a color painting, the present preferred embodiment is carried out such that a pallet 6 is constituted in advance by a method for taking out color tone information from the existing image and generating some random numbers.

[0052] This pallet 6 can be generated by various kinds of method such as a random generation, both the random generation and application of a rule to be described, an extraction of existing works and photographs, both an extraction of existing works and photographs and a rule to be described.

[0053] Describing the practical example shows that the pallet 6 shown in FIG. 7(b) is made on the basis of a woodcut print of Hokusai Katsushika shown in FIG. 7(a), and in this case, the pallet 6 is attained such that the already read-in image is reduced in size of 12 dots by 7 dots under application of an existing image reduction algorism, and colors in the generated figure are assigned in a unit of pixel.

[0054] D. Arrangement of the Object and its Color Painting

[0055] The objects 5 . . . are taken out of the component stock 4 in accordance with a rule to be described later, and arranged in a plurality of regions 3 . . . partitioned by the frame lines 2 in accordance with this rule.

[0056] This rule defined as above is meant by a determination whether or not what type of objects 5 . . . is taken out of the component stock 4, a determination about a range of arranging position when it is set in reference to the random numbers, a determination about a probability of location where the objects are arranged or a procedure for determining whether or not the arranging position is set on a certain specified object and the like, its contents can be determined in advance by a draft making person (a user).

[0057] Further, a color tone is determined after its arrangement is set, and information about the color is attained by the aforesaid pallet 6 or information of the colors of the surrounding objects 5 . . . when the arrangement is set.

[0058] Describing the practical example of the present invention shows in what manner a color mapping is carried out in reference to the pallet 6 under specifying separately the aforesaid rule.

[0059] As to the mapping method, there may be applied the most self-evident method in which a color is scanned from the left upper position in the pallet 6 to a rightward direction and a color scanning is started from the lower row upon completion of one lateral row, a method for determining it with some random numbers or a method for applying a certain restriction on mapping in response to upper or lower absolute position, right or left absolute position on the campus 1 on the objects 5 . . . to be colored or other methods.

[0060] E. Repetition of Generation of Drawing Picture

[0061] In the case of the aforesaid arranging operation, selection of the objects 5 . . . or their position setting and color painting are repeated in accordance with the aforesaid rule and a stopping condition of this repeating operation is also described in the rule.

[0062] That is, after the positions of the objects 5 . . . are determined and their arrangement is set, it is discriminated whether or not the objects 5 . . . are arranged continuously. This discrimination is carried out manually by a person as one of the operations or carried out automatically under application of the rule.

[0063] As an example of discrimination in stopping of operation, there may be provided a simple example that consists in the case that a surplus area reaches a specified amount or the number of drawn objects reaches a specified amount.

[0064] Describing a more practical example shows that when the repeating operation for the arrangement is continued at first as shown in the flow-chart in FIG. 8, the objects 5 . . . are selected from the element stock 4 and then a changing-over in arrangement of the objects 5 . . . or replacement characteristic such as a color change or the like is selected.

[0065] Subsequent to this operation, some parameters are made in response to some random numbers produced when the arrangement of the objects 5 . . . or color change of the objects 5 . . . and then the objects 5 . . . arranged in response to the parameters are copied in the campus 1.

[0066] After this operation, the program returns to a step to check whether or not the repetition of arrangement is continued, wherein if an operator repeats the arrangement operation, the generation of the patterns P . . . is completed.

[0067] Then, a practical example about specifying of some parameters determining a form of the aforesaid objects 5 . . . , determination of their positions and the rule utilizing some random numbers will be described in a supplemental manner.

[0068] “Specifying some parameters determining the form”

[0069] If the object is a circle, its parameters such as its center and its radius are present and if the object is a rectangular shape, its parameters such as two points constituting its orthogonal line are present, the parameters being present for determining the form of the object.

[0070] If the object is of an arrow mark shown in FIG. 9, for example, the number of parameters specified by the type of the object or the restriction between the parameters is made different in such a way that two parameters such as a length of the arrow mark and a size of the arrow point may be present.

[0071] It is possible to determine an overall feature of the object by generating these parameters.

[0072] “Determining of position”

[0073] Although a determination of arrangement of the object is dependent on the arrangement rules selected and specified by a user, there may be present some various kinds of rules such as a rule merely based on the random numbers, a rule dependent on its relation with the existing object or a rule accompanied by a changing in size. As to the position-determining rule utilizing some random numbers, this rule will be described later.

[0074] “Practical example of a rule utilizing some random numbers”

[0075] A method for displaying a picture similar to the work of Pieter Cornelis Mondrian, an artist from Netherlands, with some random numbers will be described above.

[0076] A screen shown in FIG. 10(a) is expressed by a similar shape constituted such that its upper and lower, or right and left spaces are partitioned by solid frame lines under a suitable rate, and a method for stably generating such a figure as above will be described as follows.

[0077] In the case of the figure shown in FIG. 10(b), a fine line other than the pattern P finally generated is drawn, although this line corresponds to an auxiliary line. In the case of this method, the auxiliary line is generated at first, and then some parameters of the object 5 used in drawing of a picture are generated from the auxiliary line by a concrete means shown as follows.

[0078] 1. The numbers n, m not including the right and left sides of the auxiliary line in a vertical direction and a lateral direction, a size w (a lateral width) of a rectangular shape and h (a height) are determined.

[0079] 2. Each of numbers (n+1) and (m+1) of the random numbers is generated.

[0080] 3. When these random numbers are w1, w2 . . . wn, h1, h2 . . . hm, x-coordinate in a vertical direction and y-coordinate in a lateral direction of the auxiliary line are

xi=wi/(w 1+w 2+ . . . +wn)×w

yj=hj/(h 1+h 2+ . . . +hm)×h

[0081] (Applying of such a method as above causes a value generated as a random number to be used as a coordinate value and a less opportunity of too near value occurs.)

[0082] 4. After this calculation, there is executed a step in which one vertical line and two lateral lines are selected from these numbers n of the vertical lines and these numbers m, 1) a vertical partition is made by the vertical solid line and then 2) a lateral space is further divided by two lateral lines and colored.

[0083] In turn, the patterns P . . . having the same taste have been generated as indicated from FIG. 1(a) to FIG. 1(d) by a method wherein the computer is caused to realize a function for adding a changing in size of the objects 5 . . . and determining a frame work while performing an automatic arrangement and an automatic color painting of the objects 5 . . . under application of the automatic picture generating program of the present invention described above.

[0084] Applying this function enabled an automatic production of different works while being in a similar scene on the basis of the objects 5 . . . drawn or selected by a drawing person.

[0085] In the case of the aforesaid preferred embodiment, it has been indicated the case that Pieter Cornelis Mondrian type frame lines 2 are drawn on the canvas 1, partitioned into a plurality of regions 3 . . . , the objects 5 . . . taken out of the element stock 4 are arranged in sequence in these frame lines 2, colors are taken out of the pallet 6 to paint the objects, thereby an abstract picture is generated as the pattern P. However, the present invention is not restricted to the preferred embodiment and it may also be applicable that another pattern other than the abstract picture is generated under application of a similar function.

Industrial Applicability

[0086] As described above, the present invention according to Claims 1 and 7 is carried out such that when a drawing person stores objects in an element stock and makes a pallet, at first the drawing person takes out the objects from the element stock in accordance with the drawing person's rule and arranges them, thereafter paints them in reference to the pallet and subsequently, a changing in selection of the objects out of the element stock and a changing in selection of arrangement of the objects or their color paintings are carried out automatically in reference to some parameters made in accordance with some random numbers generated at the time of arrangement or color painting of these objects, thereby different patterns while keeping the same taste are made automatically, so that even a drawing person having a less amount of skill or experience in drawing a picture can easily produce a pattern showing a specific characteristic of the drawing person.

[0087] Accordingly, it is possible to provide a user-interface for use in arranging an object to be drawn in a software for automatically generating a picture.

[0088] In addition to the effect of the invention according to Claim 1 and the effect of the invention according to Claim 7, the invention according to Claims 2 and 8 can generate a limitless number of a series of patterns because a changing in patterns is repeated on the basis of some parameters newly generated every time a selection of the objects and their arrangement or their color painting are repeatedly changed.

[0089] In addition to the effect of the invention according to Claim 2 and the effect of the invention according to Claim 8, the invention according to Claims 3 and 9 can generate a new style pattern while a drawing person is looking at some patterns generated in sequence because selection of the objects and their arrangement or their color painting are repeated until the operator stops these operations.

[0090] In addition to the effect of the invention according to Claim 1, Claim 2 or Claim 3 and the effect of the invention according to Claim 7, Claim 8 or Claim 9, the invention according to Claims 4 and 10 can increase the kind of patterns capable of being generated because the patterns having different sized objects drawn can be generated.

[0091] In addition to the effect of the invention according to Claim 1, Claim 2 or Claim 3 and the effect of the invention according to Claim 7, Claim 8 or Claim 9, the invention according to Claims 5 and 11 can easily generate a pattern showing a high common characteristic because a pattern intensifying some specific objects can be generated.

[0092] In addition to the effect of the invention according to Claim 1, Claim 2 or Claim 3 and the effect of the invention according to Claim 7, Claim 8 or Claim 9, the invention according to Claims 6 and 12 can easily generate a pattern showing an individual style color because a pattern of painted color responding to a request of a drawing person mainly in regard to the object. 

1. An automatic picture-generating program to cause a computer to realize: an object memory function for storing some prepared basic forms or hand-drawn objects (5) in an element stock (4); a color tone storing function for making a pallet (6) and memorizing it in reference to a color tone information extracted from existing images; a composition function for arranging the objects (5) taken out of said element stock (4) at a proper position in a screen (1); a color painting function for taking out color from said pallet (6) and painting it on the screen (1) having the objects (5) arranged therein; a parameter memory function for taking out the objects (5) from said element stock (4) in accordance with a rule predetermined by a picture making person and arranging them, painting them in color from the pallet (6), making some parameters in reference to some random numbers generated at the time of arranging or color painting of these objects (5); and a pattern changing function for changing a selection of the objects (5) from said element stock (4) and their arrangement or color painting on the basis of the parameters read in reference to the parameter memory function.
 2. The automatic picture-generating program according to claim 1, wherein said parameter memory function and said pattern changing function are repeatedly realized.
 3. The automatic picture-generating program according to claim 2, wherein a repetitive operation of said parameter memory function and said pattern-changing function is stopped by an operator.
 4. The automatic picture-generating program according to claim 1, 2 or 3, wherein said pattern changing function includes a size changing of the objects taken out of the element stock.
 5. The automatic picture-generating program according to claim 1, 2 or 3, wherein said pattern changing function includes a rule for determining whether or not the object taken out of the element stock is placed on a certain specified object.
 6. The automatic picture-generating program according to claim 1, 2 or 3, wherein said pattern changing function includes a rule for determining a painting color in reference to a color painting information around the arranged object.
 7. A recording medium capable of being read by a computer memorizing an automatic picture-generating program to cause the computer to realize: an object memory function for storing some prepared basic forms or hand-drawn objects (5) in an element stock (4); a color tone storing function for making a pallet (6) and memorizing it in reference to a color tone information extracted from existing images; a composition function for arranging the objects (5) taken out of said element stock (4) at a proper position in a screen (1); a color painting function for taking out color from said pallet (6) and painting it on the screen (1) having the objects (5) arranged therein; a parameter memory function for taking out the objects (5) from said element stock (4) in accordance with a rule predetermined by a picture making person and arranging them, painting them in color from the pallet (6), making some parameters in reference to some random numbers generated at the time of arranging or color painting of these objects (5); and a pattern changing function for changing a selection of the objects (5) from said element stock (4) and their arrangement or color painting on the basis of the parameters read in reference to the parameter memory function.
 8. A recording medium capable of being read by a computer memorizing the automatic picture-generating program according to claim 7, wherein said parameter memory function and said pattern changing function are repeatedly realized.
 9. A recording medium capable of being read by a computer memorizing the automatic picture-generating program according to claim 8, wherein a repetition of said parameter memory function and said pattern changing function is stopped by an operator.
 10. A recording medium capable of being read by a computer memorizing the automatic picture-generating program according to claim 7, 8 or 9, wherein said pattern changing function includes a size changing of an object taken out of the element stock.
 11. A recording medium capable of being read by a computer memorizing the automatic picture-generating program according to claim 7, 8 or 9, wherein said pattern changing function includes a rule for determining whether or not the object taken out of the element stock is placed on a certain specified object.
 12. A recording medium capable of being read by a computer memorizing the automatic picture-generating program according to claim 7, 8 or 9, wherein said pattern changing function includes a rule for determining a color in reference to a color information around the arranged object. 